package com.alex.designPattern.facade;

public class Facade {
	
	private ProcessA processA;
	
	private ProcessB processB;
	
	private ProcessC processC;
	
	public void process() {
		System.out.println("process start....");
		processA.process();
		processB.process();
		processC.process();
		System.out.println("process finish....");
	}

	public ProcessA getProcessA() {
		return processA;
	}

	public void setProcessA(ProcessA processA) {
		this.processA = processA;
	}

	public ProcessB getProcessB() {
		return processB;
	}

	public void setProcessB(ProcessB processB) {
		this.processB = processB;
	}

	public ProcessC getProcessC() {
		return processC;
	}

	public void setProcessC(ProcessC processC) {
		this.processC = processC;
	}

}
